package cn.tedu.egmybatis6.mapper;

import cn.tedu.egmybatis6.pojo.entity.Product;
import cn.tedu.egmybatis6.pojo.entity.ProductVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface ProductMapper {

    int insertProduct(Product product);

    ProductVO1 selectSingleProduct(int id);

    int deleteById(int id);

    int deleteByIds(List<Integer> ids);

    int dynamicUpdate(Product product);

    int selectCount();
}
